package hyj.qx.websocket.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @TableName("content")
    @ApiModel("历史消息内容展现")
    public class ContentVo {
        @ApiModelProperty("消息内容")
        private String content;
        @ApiModelProperty("创建时间")
        private LocalDateTime createTime;
        @ApiModelProperty("来自谁")
        private String fromName;
        @ApiModelProperty("给谁")
        private String toName;
    }
